// 网络状态
export const NETWORK = {
	0: "网络异常",
	1: "网络正常"
};
// 信号强度 0~5

// 主平台连接状态 || 运维平台连接状态
export const PLATFORM_CONNECT = {
	0: "未连接",
	1: "已连接"
};
// 整柜禁用状态
export const IS_ENABLE = {
	0: "启用",
	1: "禁用"
};
// 摄像头是否在线
export const IS_ONLINE = {
	0: "不在线",
	1: "在线"
};
export const CAMERA_ONLINE = {
	0: "在线",
	1: "不在线"
};
export const COMMUNITE_ONLINE = {
	0: "通讯正常",
	1: "通讯异常"
};
// 换电状态
export const POWER_CHANGE = {
	0: "未处于换电状态",
	1: "处于换电状态"
};

// 仓门状态
export const DOOR_STATUS = {
	0: "仓门打开",
	1: "仓门关闭",
};
// 电池在位信息
export const BATTERY_ISON = {
	0: "有电池",
	1: "无电池",
};
// 灭火器反馈点
export const IS_WARN = {
	1: "告警",
	0: "未告警"
};
export const IS_ENABLED = {
	1: "启动",
	0: "未启动"
};
export const IS_FAULT = {
	1: "故障",
	0: "正常"
};
export const IS_DORMANT = {
	1: "休眠",
	0: "正常"
};
export const CURRENT_LIMIT = {
	1: "输出限流",
	0: "正常"
};
export const IS_AUTO = {
	1: "被控",
	0: "自动"
};
export const IS_FORBIDDEN = {
	1: "使能",
	0: "禁止"
};
export const BMS_SIGN = {
	1: "未使能",
	0: "使能"
};
export const BATERRY_TYPE = {
	0: "自动判断",
	1: "磷酸铁锂",
	2: "锰锂电池",
	3: "钛酸锂电池",
};
export const RUN_STATUS = {
	0: "空闲",
	1: "充电运行",
	2: "放电运行",
	3: "充满电",
	4: "限额充电",
	5: "休眠状态",
	6: "关机状态",
	7: "标定状态",
};
export const UNDERVOL = {
	0: "单芯电压正常",
	1: "单芯欠压保护"
};
export const UPVOL = {
	0: "单芯电压正常",
	1: "单芯过压保护"
};
export const LOWTEM = {
	0: "单芯低温温度正常",
	1: "单芯低温保护"
};
export const HIGHTEM = {
	0: "单芯高温温度正常",
	1: "单芯高温保护"
};
export const PRESSURE = {
	0: "单芯压差正常",
	1: "单芯压差过大"
};
export const MOS_STATUS = {
	0: "电池MOS正常",
	1: "电池MOS异常"
};
export const BMS_STATUS = {
	0: "BMS状态正常",
	1: "BMS状态异常"
};
export const OVER_CURRENT = {
	0: "放电电流正常",
	1: "放电过流保护"
};
export const CHARGE_CURRENT = {
	0: "充电电流正常",
	1: "充电过流保护"
};
export const IS_CHARGE = {
	0: "持续充电中",
	1: "持续充电到6小时"
};
export const IS_DOORS = {
	0: "仓门关闭",
	1: "仓门打开"
};
export const VOL_LOSE = {
	0: "单芯电压未失效",
	1: "单芯电压失效"
};
export const BATTERY_ONLINE = {
	0: "电池在线",
	1: "电池离线"
};
export const NOTALLOW_CHARGE = {
	0: "允许充电",
	1: "不允许充电"
};
export const LOAD_PROTECT = {
	0: "负载未短路保护",
	1: "负载短路保护"
};
export const UP_VOL_PROTECT = {
	0: "总电压正常",
	1: "总电压过压保护"
};
export const INVERSE_PROTECT = {
	0: "未反接",
	1: "反接保护"
};
export const LOW_VOL_PROTECT = {
	0: "总电压正常",
	1: "总电压欠压保护"
};
export const MOS_HIGH_TEM = {
	0: "MOS高温正常",
	1: "MOS高温保护"
};
export const ENVIR_HIGH_TEM = {
	0: "环境温度正常",
	1: "环境高温保护"
};
export const ENVIR_LOW_TEM = {
	0: "环境温度正常",
	1: "环境低温保护"
};
export const CELL_HIGH_TEM = {
	0: "单芯温度未超高温",
	1: "单芯超高温保护"
};
export const CURRENT_LIMIT_WARN = {
	0: "电池放电电流正常",
	1: "电池放电限流告警"
};
export const MOS_PIPE_STATUS = {
	0: "MOS管断开",
	1: "MOS管闭合"
};
export const BATTERY_ADJUST = {
	170: "电池不需要校准容量",
	85: "电池需要校准容量"
};
export const BATTERY_STATUSING = {
	170: "移动",
	171: "静止",
	172: "存储",
	173: "常规休眠",
	174: "深度休眠",
};
export const BATTERY_CONTROL = {
	26: "放电状态",
	42: "充电状态",
	58: "负载在位状态",
	74: "充电在位状态",
	90: "空载状态",
};
export const CABIN_STATUS = {
	1: "充电",
	2: "待机",
	3: "故障",
	4: "充电完成",
	5: "充电暂停",
	6: "仓占用",
};
export const RELAY_STATUS = {
	1: "断开",
	0: "吸合",
};
export const CABIN_DOOR_STATUS = {
	1: "打开",
	0: "关闭",
};
export const POWER_SUPPLY_STATUS = {
	1: "闭合",
	0: "断开",
};
export const SMOKE_DETECTOR = {
	1: "有烟",
	0: "无烟",
};
export const WATER_OUT = {
	1: "水浸",
	0: "无水浸",
};


// 当前连接的平台
export const CURRENT_PLATFORM = [{
		text: '动力源测试平台',
		value: 0,
	},
	{
		text: '动力源正式平台',
		value: 1,
	}, {
		text: '铁塔测试平台',
		value: 2,
	}, {
		text: '铁塔正式平台',
		value: 3,
	},
];
// 门锁反馈信号
export const LOCK_SIGNAL = [{
		text: "常开",
		value: 0,
	},
	{
		text: "常闭",
		value: 0,
	}
];
export const LOCK_SET = [{
		text: "常开",
		value: 1,
	},
	{
		text: "常闭",
		value: 0,
	}
];
// 门锁反馈信号1设置
export const LOCK_SIGNAL_SET = [{
	text: "设置",
	value: 1,
}];
// 设置烟感反馈点
export const SMOKE_FEEDBACK = [{
		text: "不设置",
		value: 0,
	},
	{
		text: "反馈点为常闭",
		value: 1,
	},
	{
		text: "反馈点为常开",
		value: 2,
	}
];
// 维护门反馈点1设置使能
export const DOOR_FEEDBACK = [{
	text: "使能",
	value: 1,
}];
// 门锁反馈信号1
export const LOCK_STATUS = [{
	text: "常开",
	value: 0,
}];
// 水侵使能
export const WATER_STATUS = [{
		text: "开启",
		value: 0,
	},
	{
		text: "关闭",
		value: 1,
	},
	{
		text: "不设置",
		value: 255,
	},
];
// 直流风扇和电子锁控制
export const LOCK_CONTROL = [{
		text: "不控制",
		value: 0,
	},
	{
		text: "启动",
		value: 1,
	},
	{
		text: "停止",
		value: 2,
	},
];
// 电控锁控制
export const ELETRIC_LOCK_CONTROL = [{
		text: "不控制",
		value: 0,
	},
	{
		text: "开锁",
		value: 1,
	},
];
// 运行模式
export const RUN_MODE = [{
		text: "自动运行",
		value: 0
	},
	{
		text: "充电运行",
		value: 1
	},
	{
		text: "放电运行",
		value: 2
	},
	{
		text: "休眠",
		value: 3
	},
	{
		text: "关机",
		value: 4
	},
	{
		text: "不设置",
		value: 255
	},
];
// 备电模式
export const ELECTRIC_MODE = [{
		text: "禁止备电模式",
		value: 0
	},
	{
		text: "使能备电模式",
		value: 1
	},
	{
		text: "不设置",
		value: 255
	},
];
// 电池类型
export const BATTERY_TYPE = [{
		text: "自动判断",
		value: 0
	},
	{
		text: "磷酸铁锂",
		value: 1
	},
	{
		text: "锰锂电池",
		value: 2
	},
	{
		text: "不设置",
		value: 255
	},
];




// 加热1状态
export const HEAT1 = {
	0: "未加热",
	1: "加热"
};
// 异常断电
export const ABNORMAL_OUTAGE = {
	0: "未断电",
	1: "断电"
};
// 照明灯
export const FLOODLIGHT = {
	0: "未点亮",
	1: "点亮"
};
// 维护门1
export const MAINTAIN_DOOR = {
	0: "未锁",
	1: "已锁"
};
// 水位检测反馈点
export const WATER_FEEDBACK = {
	0: "常闭",
	1: "常开",
	2: "模拟"
};
export const SMOKE_STATUS = {
	0: "常开",
	1: "常闭",
};
export const IS_START = {
	0: "开机",
	1: "关机",
};
export const IS_NORMAL = {
	0: "正常",
	1: "异常",
};

export const OVETRCURRENT = {
	0: "正常",
	1: "输出过流",
};
export const DOOR_LOCK_SIGNAL = {
	0: "常开",
};
export const DOOR_LOCK_ONOFF = {
	0: "常闭",
	1: "常开"
};


export const getLockOption = [{
		text: '常开',
		value: 0,
	},
	{
		text: '常闭',
		value: 1,
	},
];
// 电池在位模式
export const batteryIsOn = [{
		text: '常开',
		value: 0,
	},
	{
		text: '常闭',
		value: 1,
	},
	{
		text: '不使能',
		value: 2,
	},
];

// 终端类型
export const TERMINAL_TYPE = ['WEIXIN', 'ANDROID', 'IOS'];
export const READ_AND_WRITE_STATUS = ['READ', 'WRITE'];